﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="pop_hxlist.ascx.cs" Inherits="uswinweb.datacontrol.pop_hxlist" %>
<table border="0" cellpadding="0" cellspacing="0" class="edtb2">
    <thead>
        <tr>
            <td>
                名称
            </td>
            <td>
                英文名
            </td>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>
                <input id="hx_search_txt_name" name="hx_search_txt_name" value="<%=search_txt_name %>" type="text" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width: 100px;"
                onkeydown="datasearch({controlName:'<%=controllername%>',showDiv:'<%=showdiv%>',searchCn:document.getElementById('hx_search_txt_name').value,searchEn:document.getElementById('hx_search_txt_ename').value});"/>
            </td>
            <td>
                <input id="hx_search_txt_ename" name="hx_search_txt_ename" value="<%=search_txt_ename %>" type="text" class="soout" onblur="this.className='soout'" onfocus="this.className='soon'" style="width: 100px;" 
                onkeydown="datasearch({controlName:'<%=controllername%>',showDiv:'<%=showdiv%>',searchCn:document.getElementById('hx_search_txt_name').value,searchEn:document.getElementById('hx_search_txt_ename').value});"/>
            </td>
        </tr>
        <tr class="tp" onmouseover="jQuery(this).addClass('co3');" onmouseout="jQuery(this).removeClass('co3');" onclick="luffy('','routes_hidd','')">
            <td id="Td1" name="">
                不选择
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <% int i = 1;
           foreach (System.Data.DataRow dr in dataDT.Rows)
           { %>
        <tr class="tp" onmouseover="jQuery(this).addClass('co3');" onmouseout="jQuery(this).removeClass('co3');"
            onclick="luffy('<%=dr["ename"].ToString().Trim() %>','routes_hidd','<%=dr["tcode"].ToString().Trim() %>')">
            <td id="routes_hidd_<%=i %>" name="<%=dr["tcode"].ToString().Trim() %>">
                <%=dr["name"].ToString() == "" ? "&nbsp;" : dr["name"]%>
            </td>
            <td>
                <%=dr["ename"].ToString() == "" ? "&nbsp" : dr["ename"]%>
            </td>
        </tr>
        <%
i++;
                                   } %>
    </tbody>
    <tfoot>
        <tr>
            <td colspan="3">
                <%=PageListStr %>
            </td>
        </tr>
    </tfoot>
</table>
